package com.sunshine.ssm.job;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @Author: WeiHong
 * @Date: 2017/5/19 9:53
 */
@Component("jobTest1")
public class JobTest1 extends AbstractJob {

    private static final Logger LOGGER = LoggerFactory.getLogger(JobTest1.class);

    /**
     * 构造方法
     *
     */
    public JobTest1() {
        super("定时任务1测试");
    }

    @Override
    protected void doTask() throws Exception {
        LOGGER.info("定时任务1开始");
    }
}
